package com.rainbow.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rainbow.entity.Department;

import java.util.List;

/**
 * @Author rainbow
 **/
public interface DepartmentService extends IService<Department> {

    int addDep(Department department);

    int deleteDep(Long did);

    List<Department> getDepByPid(Long pid);

    List<Department> getAllDeps();

}
